package com.system.registrationPool.service;

import com.system.registrationPool.bean.RegistrationPool;
import com.system.registrationPool.bean.RegistrationPoolList;

import java.time.LocalDate;
import java.util.List;

/**
 * @author 林
 */
public interface RegistrationPoolService {
    Integer saveRegistrationPool(RegistrationPool registrationPool);
    boolean removeRegistrationPoolById(int id);
    boolean modifyRegistrationPool(RegistrationPool registrationPool);
    RegistrationPool getRegistrationPoolById(int id);
    List<RegistrationPool> listAllRegistrationPools();
    List<RegistrationPool> findAllByBusinessIdAndPoolDt(int businessId, LocalDate poolDt);
}
